rename Flashcards

1
Q

to append strings to file(s)

A

rename -a ‘string’ file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

to prepend strings to file(s)

A

rename -A ‘string’ file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

to change to lower case

A

rename -f -c file(s) [-f to force overwritten]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

to change to upper case

A

rename -f -C file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

to delete strings from file(s)

A

rename -d file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

to substitute from to

A

rename -s ‘from’ ‘to’ file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

to remove extension

A

rename -x file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

to camelcase

A

rename –camelcase file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

print the result to screen but not touching the file

A

rename -n -? file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly